package cn.com.netedge.iot.frontend.datasave.config;

import org.springframework.context.ApplicationContext;

public class DataSaveConfig {

    public static ApplicationContext appContext;

    private static String machineName;

    private static boolean localMode = false;

    public static String getMachineName() {
        return machineName;
    }

    public static void setMachineName(String machineName) {
        DataSaveConfig.machineName = machineName;
    }

    public static boolean isLocalMode() {
        return localMode;
    }

    public static void setLocalMode(boolean localMode) {
        DataSaveConfig.localMode = localMode;
    }
}
